package com.ynding.spring.physical.redis.meta.service;

import org.redisson.api.RedissonClient;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * <p> </p>
 *
 * @author ynding
 * @version 2022/6/14
 **/
public interface RedisService {
    /**
     * 获取redis模板
     * @return
     */
    RedisTemplate<String, String> getRedisTemplate();

    /**
     * 获取redisson客户端
     * @return
     */
    RedissonClient getRedissonClient();
}
